﻿namespace Sage.Encryption
{

    /// <summary>
    /// 加密服务配置选项类
    /// </summary>
    public class EncryptionOptions
    {
        /// <summary>
        /// 配置节名称
        /// </summary>
        public const string SectionName = "Encryption";

        /// <summary>
        /// 加密密码
        /// </summary>
        public required string Password { get; set; }

        /// <summary>
        /// 盐值
        /// </summary>
        public required string Salt { get; set; }

        /// <summary>
        /// 密钥派生迭代次数
        /// </summary>
        public int Iterations { get; set; } = 10000;
    }


}
